const Carousel = require("../data/Carousel");

module.exports = {
  // 连接数据库获取轮播图数据
  async Carousel() {
    const ins = await Carousel.findAll();
    const result = JSON.parse(JSON.stringify(ins));
    return result;
  },
};
